﻿<UserControl x:Class="Zen4SyncDashboard.View.AllTestScenariosView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="444" d:DesignWidth="803"
             Background="{DynamicResource ApplicationBackgroundBrush}">
    <DockPanel LastChildFill="True">
        <Label DockPanel.Dock="Top" Style="{DynamicResource ViewTitle}" Content="Test Scenarios"/>
        <Grid>
            <Grid>
            	<Grid.ColumnDefinitions>
            		<ColumnDefinition Width="3*"/>
            		<ColumnDefinition Width="7*"/>
            	</Grid.ColumnDefinitions>
            	<ListBox Grid.Row="0" Grid.Column="0" x:Name="TestScenariosComboBox" ItemsSource="{Binding TestScenarios}" DisplayMemberPath="testScenario_name"/>
                <ListBox Grid.Column="1" ItemsSource="{Binding Path=SelectedItem.activities, ElementName=TestScenariosComboBox}" DisplayMemberPath="activity_activityItemId"/>
            </Grid>
        </Grid>
    </DockPanel>
</UserControl>
